package cn.edu.klmy.dao;

import java.util.List;
import java.util.Map;

import cn.edu.klmy.models.course.CourseStructure;

public interface ICourseStructureDao {

    void addCourseStructure(CourseStructure courseStructure);

    void updateCourseStructure(CourseStructure courseStructure);

    void removeCourseStructure(String fieldName, Object value);

    boolean courseStructureExists(String studyArea, String studySubject);

    CourseStructure getCourseStructure(int courseStructureId);

    List<CourseStructure> getCourseStructures(Map<String, Object[]> filter, int pageNum, int pageSize);

    int getCourseStructureCount(Map<String, Object[]> filter);
}
